package com.springcloud.eshop.price.entity;

import java.io.Serializable;

/**
 * 商品价格表(ProductPrice)实体类
 *
 * @author makejava
 * @since 2020-06-29 06:22:00
 */
public class ProductPrice implements Serializable {
    private static final long serialVersionUID = -52961283532289999L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 价格，单位分
     */
    private Double price;
    /**
     * 商品Id
     */
    private Long productId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

}